package com.crm.common.pojo;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * tbl_permission
 * @author 
 */
@Table(name="tbl_permission")
@Data
public class Permission implements Serializable {
    @Id
    private Long id;

    private String name;

    private String routing;

    private String desciption;

    @Column(name = "parentId")
    private Long parentId;

    private static final long serialVersionUID = 1L;
}